import { createApp } from 'vue';
import pinia from '/@/stores/index';
import App from '/@/App.vue';
import router from '/@/router';
import { directive } from '/@/directive/index';
import { decorate } from '/@/components/decorate/index';
import { dialog } from '/@/components/dialog/index';
import { i18n } from '/@/i18n/index';
import other from '/@/utils/other';
import { Icon } from '@iconify/vue';
import ElementPlus from 'element-plus';
import '/@/theme/index.scss';
import VueGridLayout from 'vue-grid-layout';
import '/@/assets/decoration/iconfont/iconfont.css';
import '/@/assets/decoration/iconfont/iconfont.js';
import '/@/assets/iconfont/iconfont.css';
import 'vant/lib/index.css';
import Vant from 'vant';
import layer from '@layui/layer-vue';
import '@layui/layer-vue/lib/index.css';
const app = createApp(App);
decorate(app);
directive(app);
dialog(app);
other.elSvg(app);
app.component('Icon', Icon);
app.use(pinia).use(router).use(ElementPlus).use(i18n).use(VueGridLayout).use(Vant).use(layer).mount('#app');
